package com.ph.irp.base.assistantmaterial.dao;

import java.util.List;

import com.ph.irp.model.PBaseAssistantmaterialOpenaccountbank;

public interface PBaseAssistantOpenaccountbankDAO {
	
	List<PBaseAssistantmaterialOpenaccountbank> getAllAccountbookBanks()throws Throwable;
	
	void deleteAccountbookBankById(Object[] accountbookBankIds)throws Throwable;
	
	PBaseAssistantmaterialOpenaccountbank getAccountbookBankById(Integer accountbookBankId)throws Throwable;
	
	List<PBaseAssistantmaterialOpenaccountbank> getAccountbookBankByCode(String accountbookBankCode)throws Throwable;
	
	List<PBaseAssistantmaterialOpenaccountbank> getAccountbookBankByName(String accountbookBankName)throws Throwable;
	
	List<PBaseAssistantmaterialOpenaccountbank> getAccountbookBankByNameAndCode(String accountbookBankName,String accountbookBankCode)throws Throwable;
	
	void updateAccountbookBank(PBaseAssistantmaterialOpenaccountbank accountbookBankModel)throws Throwable;
	
	void addAccountbookBank(PBaseAssistantmaterialOpenaccountbank accountbookBankModel)throws Throwable;

}
